package com.itheima.zhlx.service;

import com.itheima.zhlx.entity.PageBean;
import com.itheima.zhlx.entity.PageTotal;
import com.itheima.zhlx.entity.Result;
import com.itheima.zhlx.pojo.Goods;

public interface GoodsServlce {
    PageTotal goodfindAll(PageBean pageBean);
    Integer addGoods(Goods goods);

    /**
     * 删除商品 根据id
     * @param id
     * @return
     */
    Integer deleteGoods(String id);
}
